package day0820;

/**
 * @Author:galaxy_yan
 * @Date: 2022/8/21
 * @Time: 9:43
 * @Description
 */
public class text1 {
    public int aMethod(){
//        static int i = 0;
        int i=0;
        i++;
        return i;
    }
    public static void main(String args[]){
        text1 test = new text1();
        test.aMethod();
        int j = test.aMethod();
        System.out.println(j);
    }
}
